package com.arpa.ntocc.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色配置表
 * </p>
 *
 * @author LEO
 * @since 2019-12-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_role_config")
@ApiModel(value="RoleConfig对象", description="角色配置表")
public class RoleConfig extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一标识")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "角色code")
    @TableField("role_code")
    private String roleCode;

    @ApiModelProperty(value = "配置类型")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "配置的key")
    @TableField("config_key")
    private String configKey;

    @ApiModelProperty(value = "配置的value")
    @TableField("config_value")
    private String configValue;

    @ApiModelProperty(value = "配置的名称")
    @TableField("config_name")
    private String configName;

    @ApiModelProperty(value = "配置描述")
    @TableField("config_desc")
    private String configDesc;


}
